﻿Namespace Buchungen

    Public Class CSVEintrag

        Private _index As Integer
        Private _buchungstag As Date
        Private _wertstellungstag As Date
        Private _buchungstext As String
        Private _betrag As Double
        Private _kontostand As Double
        Private _verwendungszweck(14) As String
        Private _kontonummer As String
        Private _beguenstigter As String
        Private _importfile As String


        Public Sub New()
        End Sub

        Public Property ImportFile As String
            Get
                Return _importfile
            End Get
            Set(ByVal value As String)
                _importfile = value
            End Set
        End Property

        Public Property Index As Integer
            Get
                Return _index
            End Get
            Set(ByVal value As Integer)
                _index = value
            End Set
        End Property

        Public Property Buchungsdatum As Date
            Get
                Return _buchungstag
            End Get
            Set(ByVal value As Date)
                _buchungstag = value
            End Set
        End Property

        Public Property Wertstellungsdatum As Date
            Get
                Return _wertstellungstag
            End Get
            Set(ByVal value As Date)
                _wertstellungstag = value
            End Set
        End Property

        Public Property Buchungstext As String
            Get
                Return _buchungstext
            End Get
            Set(ByVal value As String)
                _buchungstext = value
            End Set
        End Property

        Public Property Betrag As Double
            Get
                Return _betrag
            End Get
            Set(ByVal value As Double)
                _betrag = value
            End Set
        End Property

        Public Property Kontostand As Double
            Get
                Return _kontostand
            End Get
            Set(ByVal value As Double)
                _kontostand = value
            End Set
        End Property

        Public Property Beguenstigter As String
            Get
                Return _beguenstigter
            End Get
            Set(ByVal value As String)
                _beguenstigter = value
            End Set
        End Property

        Public Property Verwendungszweck As String()
            Get
                Return _verwendungszweck
            End Get
            Set(ByVal value As String())
                _verwendungszweck = value
            End Set
        End Property

        Public Property Kontonummer As String
            Get
                Return _kontonummer
            End Get
            Set(ByVal value As String)
                _kontonummer = value
            End Set
        End Property

    End Class

End Namespace